#include "clerk_center_showinfo.h"
#include "ui_clerk_center_showinfo.h"

clerk_center_showinfo::clerk_center_showinfo(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::clerk_center_showinfo)
{
    ui->setupUi(this);
}

void clerk_center_showinfo::initClerkSelfInfoBox(const QString &username, const QString &password, const QString &telenumber, const int &eid)
{
    ui->username_text->setText(username);
    ui->password_text->setText(password);
    ui->telnumber_text->setText(telenumber);
    ui->employee_id->setText(QString::number(eid));
}

clerk_center_showinfo::~clerk_center_showinfo()
{
    delete ui;
}
